<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/common.jsp"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
  <head>
  <title>操作员详细信息</title>
  <%@ include file="/common/meta.jsp"%>     
  <link href="<c:url value='/styles/form.css'/>" type="text/css" rel="stylesheet">
  </head>
  <script>
  function checkemsn()
  {
  	
      var re=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
      var msn = $("operatorDetailPo.msn").value;
      if(msn!=""){
	      if(!re.test(msn))
	      {
	          alert("msn无效！");
	          $("operatorDetailPo.msn").focus();
	          return false;
	      }
      }
  }
  function checkpostno(){
  	var re=/^(\d{6,6})$/;
  	var postno= $("operatorDetailPo.postNo").value;
  	if(postno!=""){
	      if(!re.test(postno))
	      {
	          alert("邮编无效！");
	          $("operatorDetailPo.postNo").focus();
	          return false;
	      }
      }
  }
  function checkqq(){
  	var re=/^(\d{5,15})$/;
  	var qq= $("operatorDetailPo.qq").value;
  	if(qq!=""){
	      if(!re.test(qq))
	      {
	          alert("qq无效！");
	          $("operatorDetailPo.qq").focus();
	          return false;
	      }
      }
  }
  </script>
  <body>
	<div align="center" >
		<div id="detailheader">
			<img src="<%=request.getContextPath()%>/images/main/main_ban01Dot.png" />
			<div>操作员详细信息</div>
		</div>		 
		<html:form action="/operatorDetail.do?method=update" method="post">			
			<div class="formTable" style="width:90%;">
				<div class="formTitle">
					<div class="formTitleL"></div>
					<div class="formTitleM">操作员详细信息</div>
					<div class="formTitleR"></div>
				</div>
				<div class="formContent">
							<table width="90%">
								<tr>
								<html:hidden property="operatorDetailPo.serialNo"/>
								<html:hidden property="operatorDetailPo.opId"/>
									<td align="left">登陆ID:</td>
									<td align="left" nowrap="nowrap">
									<html:text property="operatorDetailPo.loginId" readonly="true"/>
									</td>
								</tr>
								<tr>
									<td align="left">个人签名:</td>
									<td align="left">
									<html:text property="operatorDetailPo.personalSign" />
									</td>
								</tr>
								<tr>
									<td align="left">个人简介:</td>
									<td align="left">
									<html:text property="operatorDetailPo.personalIntro" />
									</td>
								</tr>	
								<tr>
									<td align="left">头像URL地址:</td>
									<td align="left"><html:text property="operatorDetailPo.personalPic" />
									</td>
								</tr>							
								<tr>
									<td align="left" >MSN:</td>
									<td align="left"><html:text property="operatorDetailPo.msn" onblur="checkemsn()"/>
									<br></td>
								</tr>
								<tr>
									<td align="left" >QQ:</td>
									<td align="left"><html:text property="operatorDetailPo.qq" onblur="checkqq()"/>
									<br></td>
								</tr>
								<tr>
									<td align="left" >联系地址:</td>
									<td align="left"><html:text property="operatorDetailPo.address" />
									<br></td>
								</tr>
								<tr>
									<td align="left" >邮政编码:</td>
									<td align="left"><html:text property="operatorDetailPo.postNo" onblur="checkpostno()"/>
									<br></td>
								</tr>
								<tr>
									<td align="center" colspan="2">
										<html:submit styleClass="btn_Xp_Bg0" value="修 改"/>&nbsp;&nbsp;&nbsp;
										<html:reset styleClass="btn_Xp_Bg0" value="重 置"/>
									</td>
								</tr>
							</table>
				</div>
			</div>
		</html:form>
		</div>
	</body>	
</html>
